/*
 * @Author: your name
 * @Date: 2021-12-22 14:20:01
 * @LastEditTime: 2022-05-25 17:31:49
 * @LastEditors: lyztroy lyztroy@bupt.edu.cn
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /visualNotes/src/components/Node/StartPoint/index.tsx
 */
import React from "react";
import { Handle, Position } from "react-flow-renderer";
import { NodeProps } from "..";
import { IconFont } from "@/utils/help";
import RemoveNode from "../RemoveNode";
import style from "./index.module.less";

const EntityPoint = (props: NodeProps) => {
  return (
    <div className={style.container}>
      <div className={style.main}>
        <IconFont type="iconxitong1" className={style.icon}></IconFont>
        <RemoveNode node={props} />
      </div>
      <div className={style.bottom}></div>
      <Handle
        type="source"
        position={Position.Right}
        style={{ borderRadius: 0 }}
      ></Handle>
    </div>
  );
};
export default EntityPoint;
